package com.shenfc.fxzj.service.impl;

import com.shenfc.fxzj.domain.SysMenuBtn;
import com.shenfc.fxzj.mapper.SysMenuBtnMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.shenfc.fxzj.service.ISysMenuBtnService;

import java.util.List;

/**
 * Created by Administrator on 2018/2/3 0003.
 */
@Service("sysMenuBtnService")
public class SysMenuBtnServiceImpl implements ISysMenuBtnService{

    @Autowired
    private SysMenuBtnMapper sysMenuBtnMapper;


    @Override
    public List<SysMenuBtn> getAllSysMenuBtns() {
        return sysMenuBtnMapper.getAllSysMenuBtns();
    }

    @Override
    public List<SysMenuBtn> getMenuBtnsByUserID(Long userId) {
        return sysMenuBtnMapper.getMenuBtnsByUserID(userId);
    }
}
